<table class="from_table2_one">
	<thead>
		<tr class="area_ajax_list_title">	
			<th class="pd-left"><tpl> $langSysAppManageName </tpl></th>
			<th><tpl> $langSysAppManageIsOrNotSetup </tpl></th>
			<th><tpl> $langSysAppManageShow </tpl></th>
			<th><tpl> $langSysAppManageSort </tpl></th>
			<th><tpl> $langCOperation </tpl></th>
		</tr>
	</thead>
	<tpl> if $app_list[0].app_module_id neq '' </tpl>
		<tpl> section name=loop loop=$app_list </tpl>
			<tr>
				<td class="pd-left"><tpl> $app_list[loop].app_module_name </tpl></td>
				<td>
					<tpl> if $app_list[loop].app_module_install eq '0' </tpl>
						<tpl> $langSysAppManageNotSetup </tpl>
					<tpl> else </tpl>
						<tpl> $langSysAppManageIsSetup </tpl>
					<tpl> /if </tpl>
				</td>
				<td>
					<tpl> if $app_list[loop].app_module_install eq '0' </tpl>
						<tpl> $langSysAppManageNotSetup </tpl>
					<tpl> else </tpl>
						<tpl> if $app_list[loop].app_module_state eq '0' </tpl>
							<tpl> $langSysAppManageShow </tpl>
						<tpl> else </tpl>
							<tpl> $langSysAppManageHide </tpl>
						<tpl> /if </tpl>
					<tpl> /if </tpl>
				</td>
				<td><tpl> $app_list[loop].app_module_sort </tpl></td>
				<td>
					<tpl> if $app_list[loop].app_module_install eq '0' </tpl>
						<a class="instal_a_pic" href="javascript:;" title="<tpl> $langSysAppManageSetup </tpl>" onclick="ajax_setup('<tpl> $app_list[loop].app_module_sign </tpl>');"></a>
					<tpl> else </tpl>
						<a class="edit_a_pic" title="<tpl> $langSysAppManageSet </tpl>" href="javascript:;" onclick="ajax_modi('<tpl> $app_list[loop].app_module_sign </tpl>');"></a>
						<a class="del_a_pic" title="<tpl> $langSysAppManageUnSetup </tpl>" href="javascript:;" onclick="ajax_unsetup('<tpl> $app_list[loop].app_module_sign </tpl>');"></a>
						<a class="management_a_pic" title="<tpl> $langSysManage </tpl>" href="javascript:;" onclick="ajax_manage('<tpl> $app_list[loop].app_module_sign </tpl>');"></a>
					<tpl> /if </tpl>
				</td>
			</tr>
		<tpl> /section </tpl>
	<tpl> else  </tpl>
	<tr>
		<td colspan="6"><tpl> $langCNull </tpl></td>
	</tr>
	<tpl> /if </tpl>
</table>
<script>
$(document).ready(function() {

});	

//编辑
function ajax_modi(sign){
	//载入页面
	ShowDiv = "result_content";
	getPageContent("../app/"+sign+"/system.php?action=manage_modi");
}

//安装
function ajax_setup(sign){
	//载入页面
	ShowDiv = "result_content";
	getPageContent("../app/"+sign+"/system.php?action=setup");
}

//卸载
function ajax_unsetup(sign){
	//载入页面
	ShowDiv = "result_content";
	getPageContent("../app/"+sign+"/system.php?action=unsetup");
}
//管理
function ajax_manage(sign){
	//载入页面
	ShowDiv = "result_content";
	getPageContent("../app/"+sign+"/system.php?action=ajax_list");
}
</script>